package com.ruoyi.teach.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 讨论对象 nb_discuss
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class NbDiscuss extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 讨论表主键 */
    private Long id;

    /** 创建人ID;老师ID */
    @Excel(name = "创建人ID;老师ID")
    private Long teacherId;

    /** 讨论标题 */
    @Excel(name = "讨论标题")
    private String title;

    /** 回复的json */
    @Excel(name = "回复的json")
    private String replyJson;

    /** 状态;0->正常 1->删除 */
    @Excel(name = "状态;0->正常 1->删除")
    private Integer status;

    /** 删除标志（0代表存在;2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setReplyJson(String replyJson) 
    {
        this.replyJson = replyJson;
    }

    public String getReplyJson() 
    {
        return replyJson;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherId", getTeacherId())
            .append("title", getTitle())
            .append("replyJson", getReplyJson())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
